package com.edu.exam.enums.examination.paper;

import com.edu.exam.enums.core.BaseEnum;

/**
 * 准考证识别方法枚举
 */
public enum ExamIdRecognitionMethod implements BaseEnum {
    OCR("OCR", "光学字符识别"),
    BARCODE("BARCODE", "条形码识别"),
    QR_CODE("QR_CODE", "二维码识别"),
    MAGNETIC_STRIPE("MAGNETIC_STRIPE", "磁条识别"),
    RFID("RFID", "射频识别"),
    NFC("NFC", "近场通信"),
    MANUAL_INPUT("MANUAL_INPUT", "手动输入"),
    VOICE("VOICE", "语音识别"),
    FINGERPRINT("FINGERPRINT", "指纹识别"),
    FACIAL_RECOGNITION("FACIAL_RECOGNITION", "人脸识别"),
    IRIS_RECOGNITION("IRIS_RECOGNITION", "虹膜识别"),
    HANDWRITING("HANDWRITING", "手写识别"),
    TEMPLATE_MATCHING("TEMPLATE_MATCHING", "模板匹配"),
    FEATURE_EXTRACTION("FEATURE_EXTRACTION", "特征提取"),
    NEURAL_NETWORK("NEURAL_NETWORK", "神经网络"),
    MACHINE_LEARNING("MACHINE_LEARNING", "机器学习"),
    PATTERN_RECOGNITION("PATTERN_RECOGNITION", "模式识别"),
    IMAGE_PROCESSING("IMAGE_PROCESSING", "图像处理"),
    COMPUTER_VISION("COMPUTER_VISION", "计算机视觉"),
    HYBRID("HYBRID", "混合方法");

    private final String code;
    private final String description;

    ExamIdRecognitionMethod(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
